package com.dense.kuiniu.floatcabinet.mvp.data;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Administrator
 * @date 2020/11/6
 */
public class Provider {
    public static List<MultiItemEntity> providerLayout() {
        return new ArrayList<MultiItemEntity>() {{
            for (int i = 0; i < 21; i++) {
                if (i == 2) {
                    add(() -> 2);
                } else {
                    add(() -> 1);
                }
            }
        }};
    }
} 